package day1.Ball;

public class Game {
    //启动踢足球游戏
//    public void start(FootBall footBall){
//        footBall.play();
//    }
//    //启动打篮球游戏
//    public void start(BasketBall BasketBall){
//        BasketBall.play();
//    }
//    //启动打乒乓球游戏


    //多态
    public void start(Ball ball){

        ball.play();
    }
}
